import Layout from '@/layout'

const sysSettingRouter = {
  path: '/sysSetting',
  component: Layout,
  redirect: '/sysSetting/userManage',
  name: 'sysSetting',
  meta: {
    title: '系统设置',
    icon: 'el-icon-setting'
  },
  children: [
    {
      path: 'userManage',
      component: () => import('@/views/sysSetting/userManage'),
      name: 'userManage',
      meta: { title: '用户管理' }
    },
    {
      path: 'sourceManage',
      component: () => import('@/views/sysSetting/sourceManage'),
      name: 'sourceManage',
      meta: { title: '资源管理' }
    },
    {
      path: 'messages',
      component: () => import('@/views/sysSetting/messages'),
      name: 'messages',
      meta: { title: '消息中心' }
    }
  ]
}
export default sysSettingRouter
